package cn.yangliu.exception;

import lombok.Getter;
import lombok.Setter;

/**
 * @author 杨柳
 * @date 2019-05-31
 */
@Setter
@Getter
public class BizException extends RuntimeException {

    private Integer code;

    private String msg;

    public BizException(Integer code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }
}
